<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://com.fyyg.web.util/tags" prefix="date"%>
<c:set var="path" value="${pageContext.request.contextPath}" />

<%@ taglib uri="http://com.fyyg.web.util/taglib/tags" prefix="total"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>页面出现错误</title>

<style type="text/css">
   html,body,h1,h2,h3,h4,h5,h6,div,dl,dt,dd,ul,ol,li,p,blockquote,pre,hr,figure,table,caption,th,td,form,fieldset,legend,input,button,textarea,menu{margin:0;padding:0;}
body{width:100%; margin:0 auto; font-size:62.5%; font-family:Tahoma,Arial,Roboto, "Droid Sans","Helvetica Neue","Droid Sans Fallback","Heiti SC",sans-self,"microsoft Yahei"; color:#000; background:#fff; }
del,ins,u,s,a,a:hover{text-decoration:none;}
.box500{ width:100%; background:#fff; padding-bottom:50px;}
.bg1_500{background: url(${path}/res/images/a500_01.png) no-repeat;width:640px; height:356px; background-size:100% auto; }
.bg2_500{background: url(${path}/res/images/a500_02.png) no-repeat;width:640px; height:375px; background-size:100% auto; }
.bg3_500{width:610px; text-align:center; padding:20px 15px;}
.bg3_500 p{ font-size:30px; color:#494949; line-height:100px; margin:20px 0px;}
.bg3_500 a{border-radius:15px; background:#ffd133; padding:20px 60px; color:#866906; font-size:33px;}
</style>
 </head> 
 <body>
   <div class="box500">
	<div class="bg1_500"></div>
    <div class="bg2_500"></div>
    <div class="bg3_500">
    	<p>服务器内部错误，不能执行该请求...</p>
        <a class="btn_500" href="${path}/index/homepage.jhtml">返回首页</a>
    </div>
</div>
    
    <script type="text/javascript">
    if(/Android (\d+\.\d+)/.test(navigator.userAgent)){
    	var version = parseFloat(RegExp.$1);
    	if(version>2.3){
    		var phoneScale = parseInt(window.screen.width)/640;
    		document.write('<meta name="viewport" content="width=640px,initial-scale='+phoneScale +',minimum-scale='+phoneScale +',maximum-scale='+phoneScale +',user-scalable=no,target-densitydpi=device-dpi" >');
    	}else{
    		document.write('<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" >');
    	}
    }else{
    	var phoneScale = parseInt(window.screen.width)/640;
    	var m='<meta name="viewport" content="width=640, minimum-scale = '+ phoneScale +', maximum-scale = '+ phoneScale +', target-densitydpi=device-dpi">';
    	document.write(m);
    }
	</script>
</body>
</html>
